package com.test.shiro.domain;

import com.test.shiro.entity.RolePower;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RolePowerRepository extends JpaRepository<RolePower,Integer> {
    List<RolePower> findByRid(Integer rid);
}
